<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

    <div>
        <style>
            div {
                height: 100px;
                background-color: yellowgreen;
                background-image: repeating-linear-gradient(60deg, #fb3, transparent 30px, #58a 30px, transparent 60px);
                background-origin:content-box;
                animation: identifier .2s linear infinite;
                background-size: 50%;
                background-repeat: no-repeat;
                transition: background-size .3s;
            }

            @keyframes identifier {
                from {
                    background-origin: 0 0;
                }

                to {
                    background-origin: 50% 0;
                }
            }
        </style>

    </div>

</body>

</html>